package com.tanhua.service;

import com.tanhua.domain.mongo.QuestionList;
import com.tanhua.domain.mongo.QuestionOption;
import org.springframework.http.ResponseEntity;

public interface SoulQuestionService {
    ResponseEntity getSoulQuestionById(Integer souId);

    ResponseEntity deleteQuestionById(Integer soulId, Integer questionId);

    ResponseEntity updateQuestion(QuestionList questionList);

    ResponseEntity addQuestion(Integer soulId, QuestionList questionList);

    ResponseEntity queryOptions(Integer questionId);

    ResponseEntity deleteOption(Integer questionId, Integer optionId);

    ResponseEntity updateOption(Integer questionId, QuestionOption questionOption);

    ResponseEntity addOption(Integer questionId, QuestionOption questionOption);

    ResponseEntity getQuestionById(String questionId);

    ResponseEntity getQuestionOptionById(String option, String questionId);
}
